﻿@model System.Web.Mvc.HandleErrorInfo
@{
    ViewBag.Title = "Son of a biscuit!";
    Layout = "~/Views/shared/_BootstrapLayout.empty.cshtml";
}

<!--<form class="form-signin">
    <h2 class="form-signin-heading">Son of a biscuit!</h2>
    <p>It looks like an error occurred while processing your request. We affectionately refer to this as "pullin-a-Caleb." </p>
    <p>We don't really know what to tell you to do other than <a href="javascript:history.go(-1);">get the heck out of here</a>.</p>
</form>-->

<hgroup class="title">
    <h1 class="error">
        Error.</h1>
    <h2 class="error">
        An error occurred while processing your request.</h2>
    @{
        if (Request.IsLocal)
        {
            if (@Model != null && @Model.Exception != null)
            {
        <h3>
            Exception was : @Model.Exception.Message</h3>
        <h4>
            Stack Trace: @Model.Exception.StackTrace</h4>
            }
            else
            {
        <h3>
            Exception was null</h3>
            }
        }
        else
        {
        <h4>
            The Error has been reported to the Administrator</h4>
        }
    }
</hgroup>


